package com.itheima.tanhua.api.db;

import com.itheima.tanhuan.pojo.db.Friend;
import com.itheima.tanhuan.pojo.db.User;

import java.util.List;

public interface UserServiceApi {
    //声明一个根据手机号查询用户信息
    User findByPhone(String phone);
    //注册用户信息
    Long save(User user);


    Integer update(User user);

    User findById(Long toLong);


    User findByHuanxiId(String huanxinId);
}
